package com.mycjj.android.activity;

import com.mycjj.android.R;
import com.mycjj.android.util.Preferences;

import android.os.Bundle;
import android.text.TextUtils;

public class WelcomeActivity extends BaseActivity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_welcome);
		init();
	}
	
	private void init(){
		String accountNum = Preferences.getSharedPreferences(mApp, "accountNum", "");
		if(!TextUtils.isEmpty(accountNum)){
			String password = Preferences.getSharedPreferences(mApp, "password", "");
			doLogin(accountNum,password);
		}
	}
	
	private void doLogin(final String account,final String password){
		
	}
}
